﻿<UserControl x:Class="AtletIS.Shared.WpfControls.CompetitionBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="100" d:DesignWidth="790" FontFamily="Trebuchet MS" Loaded="UserControl_Loaded">
    <Border
        BorderThickness="1"
        BorderBrush="SteelBlue" Background="White"
        CornerRadius="10"
        Margin="5">
        
        <Grid>
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="25px"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="25px"/>
            </Grid.ColumnDefinitions>

            <Grid.RowDefinitions>
                <RowDefinition Height="40"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>

                <Image
                Grid.Column="1"
                Grid.Row="0"
                    HorizontalAlignment="Left"
                Grid.RowSpan="2" Name="iLogo" />

                <TextBlock
                    Name="txtTitle"
                    Grid.Row="0"
                    Grid.Column="2"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Bottom"
                    FontSize="24"
                    Foreground="SteelBlue"
                    Text="Atletický Most 2013" />

                <TextBlock
                    Name="txtDetail"
                    Grid.Row="1"
                    Grid.Column="2"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    FontSize="20"
                    Foreground="SteelBlue"
                    Text="400m Men - Start List" />

        </Grid>

    </Border>
    
</UserControl>
